<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head th:include="/view/common :: commonHead('管理主界面')"></head>
<meta charset="UTF-8">
<title>产品管理</title>
</head>
<body class="easyui-layout" >

<div data-options="region:'north'" style="height:75px;);">
    <div>
        <a href="#" onclick="logout()" style="float:right;margin-right: 30px" ><h4>退出</h4></a>
        <a href="#" onclick="updatePwd()" style="float:right;margin-right:20px"><h4>修改密码</h4></a>
    </div>
</div>
<div data-options="region:'west',split:true,title:'功能菜单'" style="width:160px;);">
    <ul id="menu"></ul>
</div>
<div data-options="region:'center'" style="padding:0px;background:#c6cbf8" >
    <iframe id="main_pannel" style="width: 100%;height: 100%;margin: 0px;padding: 0px;border: 0px;" scrolling="auto" >
    </iframe>
</div>




<script type="text/javascript">

    $(function(){
        var  treeJson="[[@{/json/tree.json}]]";
        $('#menu').tree({
            url:treeJson,
            method:"get",
            onClick:function(node){
                if(node.url){

                    $("#main_pannel").attr("src",node.url);
                }
            }
        });
    });

</script>

</body>
</html>